<nav class="navbar navbar-default" role="navigation" >
    <div class="navbar-header">
        <a class="navbar-brand" href="#"><@spring.message "sysname"></@spring.message></a>
    </div>
    <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
            <li><a href="/geo/home" class="dropdown-toggle"><@spring.message "nav.home"></@spring.message></a></li>
            <!--  <li> <a href="/geo/biaobao" class="smoothScroll"><@spring.message "nav.tag"></@spring.message> </a></li>  -->
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    <@spring.message "nav.tag"></@spring.message>
                <b class="caret"></b>
                </a>
                <ul class="dropdown-menu ">
                    <li> <a class="dropdown-item" href="/geo/biaobao"><@spring.message "nav.practice"></@spring.message> </a></li>
                    <li> <a class="dropdown-item" href="/geo/yangbenbiaobao"><@spring.message "nav.ybtag"></@spring.message> </a></li>
                    <li> <a class="dropdown-item" href="/geo/biaobao"><@spring.message "nav.zztag"></@spring.message> </a></li>
                </ul>
            </li>

            <!--
             <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                 <@spring.message "nav.gps"></@spring.message>
                 <b class="caret"></b>
              </a>
              <ul class="dropdown-menu">
                 <li><a href="gpsup"><@spring.message "gps.up"></@spring.message></a></li>
                 <li><a href="gpslist"><@spring.message "gps.list"></@spring.message></a></li>
              </ul>
           </li>
          -->
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    <@spring.message "nav.zbtag"></@spring.message>
                <b class="caret"></b>
                </a>
                <ul class="dropdown-menu">
                    <li> <a href="/geo/fabao"><@spring.message "nav.fbtag"></@spring.message> </a></li>
                    <li> <a href="/geo/jiebao"><@spring.message "nav.jbtag"></@spring.message> </a></li>
                </ul>
            </li>

            <li> <a href="/geo/taghistory" class="dropdown-toggle"><@spring.message "nav.taghistory"></@spring.message></a></li>
            <li style=> <a class="dropdown-toggle" style="display:none"><@spring.message "nav.checkedit"></@spring.message></a></li>
            <!-- <li> <a href="qnaire" class="smoothScroll"><@spring.message "nav.questionnaire"></@spring.message></a></li> -->
            <!--<li> <a href="/geo/tagrank" class="dropdown-toggle"><@spring.message "nav.tagrank"></@spring.message> </a></li>-->
            <!--<li> <a href="/geo/forum" class="dropdown-toggle"><@spring.message "nav.forum"></@spring.message> </a></li>-->
            <!-- <li> <a href="/geo/datadownload" class="dropdown-toggle"><@spring.message "help.datadownload"></@spring.message> </a></li>-->
            <!--<li class="dropdown">
             <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <@spring.message "nav.help"></@spring.message>
                 <b class="caret"></b>
              </a>
              <ul class="dropdown-menu">
                 <li><a href="/geo/guide"><@spring.message "help.guide"></@spring.message> </a></li>
                 <li><a href="/geo/safe"><@spring.message "help.safe"></@spring.message></a></li>
                  <li><a href="/geo/software"><@spring.message "help.sys"></@spring.message></a></li>
              </ul>
           </li>-->
            <!--<li><a href="/geo/contact" class="dropdown-toggle"><@spring.message "help.contact"></@spring.message> </a></li>-->
            <li><a href="/geo/research"  class="dropdown-toggle"><@spring.message "nav.research"></@spring.message> </a></li>
        </ul>
        <!--
        <form class="navbar-form navbar-left" role="search">
         <div class="form-group">
            <input type="text" class="form-control" placeholder="Search">
         </div>
         <button type="submit" class="btn btn-default"><@spring.message "search"></@spring.message></button>


      </form>
      -->

        <ul class="nav navbar-nav navbar-right">
            <li>
                <#if user??>
            <li class="dropdown">
                <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <img alt="" src="/geo/resources/images/avatar1_small.jpg">
                    <span class="username">
                 ${user}
                </span>
                    <b class="caret">
                    </b>
                </a>
                <ul class="dropdown-menu extended logout">
                    <li class="log-arrow-up">
                    </li>
                    <li>
                        <a href="person">
                            个人中心
                        </a>
                    </li>
                    <li>
                        <a href="logout">
                            退出系统
                        </a>
                    </li>
                </ul>
            </li>
            <#else>
            <a href="/geo/login"><@spring.message "login"></@spring.message></a>
        </#if>
        </li>
        </ul>
    </div>
</nav>

